WcJUpsellator\WooActions B

Total Complexity 82
Dependencies 7
Dependents 1
Total lines 546
Lines of code 317
Logical lines of code 160
Comment lines 133
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
register()
A
36 9 91
changeItemPrice()
A
52 11 23
markAsUpsell()
A
55 9 17
showDiscountFromUpsell()
S
57 6 15
wc_timeline_fragments()
S
50 4 29
showBeforeSingleAddToCart()
S
59 5 13
markOrderProducts()
S
64 5 9
showUpsellatorLabel()
S
53 3 28
calculateNewPrice()
S
60 4 13
calculateTotalUpsell()
S
61 4 12
editcartPageName()
S
61 4 12
wc_timeline_update_qty()
S
61 3 12
editCartPageItemClasses()
S
66 3 9
editCartPageQuantity()
S
66 3 7
preventCouponDiscountForUpsells()
S
78 2 3
wc_timeline_remove_item()
S
68 2 7
checkoutUpsell()
S
91 1 2
cartPageUpsell()
S
87 1 3
checkoutUpsellFragment()
S
82 1 3
recalculateGifts()
S
69 1 7
__construct()
S
91 1 2